import App from './App'
// #ifndef VUE3
import Vue from 'vue'
import uView from '@/uni_modules/uview-ui'
import share from '@/utils/share.js'
import GoEasy from "./lib/goeasy-2.1.11.min.js";

const goEasy = GoEasy.getInstance({
	host: "hangzhou.goeasy.io", //应用所在的区域地址: 【hangzhou.goeasy.io |singapore.goeasy.io】
	appkey: "BC-95bc53b9d9544d38ba4260f43e7a4a0b", // common key,
	modules: ['pubsub']
});

Vue.prototype.goEasy = goEasy;
Vue.prototype.$myData = {};
// import cuCustom from './colorui/components/cu-custom.vue'
// Vue.component('cu-custom', cuCustom);
// import TnCustom from './components/TnCustom/TnCustom.vue'
// Vue.component('tn-custom', TnCustom)
// 导入全局分享方法
Vue.mixin(share)
Vue.use(uView)
Vue.config.productionTip = false
Vue.prototype.$baseUrl = 'https://linbo.vip:8888/uniapp'
Vue.prototype.$uploads = 'https://linbo.vip:8888/uploads'
Vue.prototype.$cloud = 'https://linbo.vip:8888/uniapp/cloud'
App.mpType = 'app'
const app = new Vue({
	...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif
